Disentangle third party libraries (but keep support for now)
authorJustin Burkett <justin@burkett.cc>
Wed, 21 Feb 2024 01:38:30 +0000 (20:38 -0500)
committerJustin Burkett <justin@burkett.cc>
Wed, 21 Feb 2024 01:38:30 +0000 (20:38 -0500)
commit5fbdf05351e77ee62e3933c7b5f46459693bd04c
tree4cb904731cc0aa1e2bbeb9db37dbc29ed914c926
parent673ae566ec483c8e2be4f076da9a54f5d905591a
Disentangle third party libraries (but keep support for now)

Add `which-key-inhibit-display-hook' to allow third-party libraries to prevent
which-key from displaying in certain circumstances. Add
`which-key-this-command-keys-function' as a customizable variable to allow
third-party libraries to teach which-key about custom symbols they insert into
the key sequence.

Add `which-key-evil-this-operator-p', `which-key-god-mode-self-insert-p' and
`which-key--god-mode-this-command-keys' to provide support for god-mode and evil
using the new mechanisms.
which-key.el